<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="com.nixsolutions.dao.HibernateUserDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" import="java.util.List"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/tags/CustomTag.tld" prefix="my"%>

<html>
    <head>
        <link rel="stylesheet" type="text/css">
        <title>Admin Page</title>
    </head>

    <body>
        <p align="right"> Admin <c:out value = "${lastname}"/>
            <a href="<c:url value="/j_spring_security_logout" />">Logout</a>
        </p>

        <p align="left">
            <a href="<c:url value="/adminNewUser.html"/>">Add new user</a>
        </p>

        <br/>
        <c:if test="${error != null}" >
            <div style="color:#FF0000" align="center">
                <c:out value="${error}"/><br/><br/>
            </div>
        </c:if>
        <br/>

    <my:CustomTag />
</body>
</html>